package com.asia5b.debugapp.transition

import android.view.ViewGroup
import com.asia5b.a5mall.middleware.base.SimpleFragment
import com.asia5b.a5mall.middleware.base.SimpleViewModel
import com.asia5b.a5mall.middleware.utils.dddLog
import com.asia5b.debugapp.databinding.FragmentTransition1Binding
import com.asia5b.debugapp.databinding.FragmentTransition2Binding

/**
 * Created by zhangyuncai on 2020/8/25.
 */
class Transition2Fragment:SimpleFragment<SimpleViewModel, FragmentTransition2Binding>() {
    override val viewModelClazz: Class<SimpleViewModel>
        get() = SimpleViewModel::class.java

    override fun getDataBinding(container: ViewGroup?): FragmentTransition2Binding {
       return FragmentTransition2Binding.inflate(layoutInflater,container,false)
    }

    override fun initView() {
        dddLog("Transition2Fragment.initView")
    }

    override fun initEvent() {
    }

    override fun lazyFetchData() {
        dddLog("Transition2Fragment.lazyFetchData")
    }

    override fun onDestroy() {
        super.onDestroy()
        dddLog("Transition2Fragment.onDestroy")
    }
}